package com.sdx.exception;

public enum LoginFailExceptionCode {
	NOT_FOUND(60010,"用户不存在或者密码错误"),
	USER_FAIL(60020,"用户已经失效"),
	USER_DEL(60030,"用户已经删除"),
	LOGIN_FAIL(60040,"登录失败次数超过一定值需要验证登录"),
	LOGIN_CODE(60050,"验证码错误");
	private int code;
	private String name;
	LoginFailExceptionCode(int code, String name) {
		this.code = code;
		this.name = name;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
